from random import randint as rnd
n = int(input())
a = 0
for i in range (n):
    x = rnd(-100, 100)
    y = rnd(-100, 100)
    if 5 > x > -7 and -8 < y < 5:
        a = a+1
print('Количество выстрелов: ', n)
print('Количество выстрелов: ', a)
